package lt.f2g.domain.comments;

import java.util.List;

import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.OneToMany;

import lt.f2g.domain.BaseEntity;

@Entity
public class CommentThread extends BaseEntity {

    @OneToMany
    @JoinColumn(name="THREAD_ID")
    private List<Comment> comments;

    public List<Comment> getComments() {
        return comments;
    }

    public void setComments(List<Comment> comments) {
        this.comments = comments;
    }
    
}